package com.eliza.base.views.device.bluetooth.repository

import com.eliza.base.views.device.bluetooth.data.DeviceResponse
import com.eliza.base.views.device.bluetooth.network.RetrofitCosmo
import javax.inject.Inject

interface CosmoRepository {
    suspend fun getDevicesRepository(): DeviceResponse
}

internal class DefaultCosmoRepository @Inject constructor(private val network: RetrofitCosmo) :
    CosmoRepository {
    override suspend fun getDevicesRepository(): DeviceResponse = network.getDevicesSource()
}
